package com.hzgj.soa.spring.server;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.stereotype.Component;

/**
 * Created by ye.pan on 2015/6/11.
 */
@Component
public class Server {

    public static void main(String[] args) {
        final ApplicationContext app = new ClassPathXmlApplicationContext(
                "classpath:demo-provider.xml");
//        app.getBean(ServerBean.class).start();
    }
}
